﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using GameBase;

namespace GalaxyPresident
{
    public class Moon : BBB
    {
        private Planet _planetOwner;

        public Planet PlanetOwner
        {
            get { return _planetOwner; }
            set { _planetOwner = value; }
        }

        public Moon(string strImage, float diameter, float velocity, Orbit orbit)
            : base(strImage, diameter, velocity, orbit)
        {
            BackColor = Color.White;
            viewLayer = new DetailPlanetView(this);
        }
        protected override void initBlock()
        {
            for (int i = 0; i < blockCount; i++)
                _blocks.Add(new DeathBlock(this, i));
        }
    }
}
